/*
 * Globals
 */


h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-top: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #333;
}

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
    font: 12px/18px "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif !important;
    color: #555;
    font-size: 12px;
}


/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto;
    /* Negative indent footer by its height */
    margin: 0 auto -100px;
    /* Pad bottom by footer height */
    padding: 0 0 120px;
}

/* Set the fixed height of the footer here */
#footer {
    height: 100px;
    background-color: #f5f5f5;
}

.navbar-form {
    margin-top: 10px !important;
}

.navbar-form > div {
    margin-right: 4px;
}

.navbar-form input {
    margin-right: 2px;
}
.navbar-form button {
    margin-right: 3px;
}

.navbar-toggle .icon-bar{
    background-color:#BDE5F8;
}

.navbar a {
    color: #BDE5F8;
}
.navbar-brand:hover {
    color: #222222;
}

.navbar-static-top {
    border-width: 0px !important;
}

@media (min-width: 1200px) {
    .navbar-form input {
        width: 120px !important;
    }
}

@media (min-width: 768px) {
    .navbar-form input {
        width: 90px !important;
    }
}

@media (max-width: 767px) {
    .navbar-nav a {
        text-align: center;
    }
}

/*
 * Masthead for nav
 */

.blog-masthead {
    background-color: #428bca;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
    position: relative;
}

.blog-nav .active {
    color: #fff;
}

.blog-nav .active:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -5px;
    vertical-align: middle;
    content: " ";
    border-right:  5px solid transparent;
    border-bottom: 5px solid;
    border-left:   5px solid transparent;
}


/*
 * Blog name and description
 */

.blog-header {
    padding-top: 20px;
    padding-bottom: 20px;
}
.blog-title {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 60px;
    font-weight: normal;
}
.blog-description {
    font-size: 20px;
    color: #999;
}

.blog-comments{
    font-size: 12px;
}

/*
 * Main column and sidebar layout
 */

.blog-main {
    font-size: 18px;
    line-height: 1.5;
}

.blog-panel-likes .btn{
    margin-top: -3px;
}


.blog-panel-likes {
    height: 22px;
}


.blog-panel-likes .item-blue{
    color: #28a4c9;
}

.blog-panel-likes .item-red{
    color: #8b0000;
}

.blog-panel-likes .item-green{
    color: #008100;
}

.comment-form form{
    margin-right: 7px;
}

#editComment{
    margin-right: 10px;
}

/* Sidebar modules for boxing content */
.sidebar-module {
    padding: 15px;
    margin: 0 -15px 15px;
}
.sidebar-module-inset {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
    margin-bottom: 0;
}



/* Pagination */
.pager {
    margin-bottom: 60px;
    text-align: left;
}
.pager > li > a {
    width: 140px;
    padding: 10px 20px;
    text-align: center;
    border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
    margin-bottom: 60px;
}
.blog-post-title {
    margin-bottom: 5px;
    font-size: 40px;
}
.blog-post-meta {
    margin-bottom: 20px;
    color: #999;
}

@media (min-width: 768px) and (max-width: 991px){
    .body .row > div {
        min-height: 400px;
    }
    .blog-post .carousel img{
        height: 353px !important;
    }
}
@media (min-width: 992px) and (max-width: 1200px){
    .body .row > div {
        min-height: 328px;
    }

    .blog-post .carousel img{
        height: 463px !important;
    }
}
@media (min-width: 1201px) {
    .body .row > div {
        min-height: 273px;
    }
    .blog-post .carousel img{
        height: 563px !important;
    }
}

.blog-post .carousel img {
    display: block;
    margin: 0 auto;
}



/**
* Comments
*/
.blog-comments {
    margin: 0px;
    padding: 5px 0px 5px 5px;
    border-left: 3px solid #eee;
    background-color: #f4f8fa;
    border-color: #5bc0de;
}


/**
* Right menu
*
*/
.bs-docs-sidebar.affix {
    position: static
}

@media (min-width:768px){.bs-docs-sidebar {
    padding-left: 20px
}
}

.bs-docs-sidenav {
    margin-top: 20px;
    margin-bottom: 20px
}

.bs-docs-sidebar .nav>li>a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    padding: 4px 20px
}

.bs-docs-sidebar .nav>li>a:hover, .bs-docs-sidebar .nav>li>a:focus {
    padding-left: 19px;
    color: #563d7c;
    text-decoration: none;
    background-color: transparent;
    border-left: 1px solid #563d7c
}

.bs-docs-sidebar .nav>.active>a, .bs-docs-sidebar .nav>.active:hover>a,
.bs-docs-sidebar .nav>.active:focus>a {
    padding-left: 18px;
    font-weight: 700;
    color: #563d7c;
    background-color: transparent;
    border-left: 2px solid #563d7c
}

.bs-docs-sidebar .nav .nav {
    display: none;
    padding-bottom: 10px
}

.bs-docs-sidebar .nav .nav>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
    font-weight: 400
}

.bs-docs-sidebar .nav .nav>li>a:hover, .bs-docs-sidebar .nav .nav>li>a:focus {
    padding-left: 29px
}

.bs-docs-sidebar .nav .nav>.active>a, .bs-docs-sidebar .nav .nav>.active:hover>a,
.bs-docs-sidebar .nav .nav>.active:focus>a {
    font-weight: 500;
    padding-left: 28px
}

.back-to-top {
    display: none;
    margin-top: 10px;
    margin-left: 10px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #999
}

.back-to-top:hover {
    text-decoration: none;
    color: #563d7c
}

@media (min-width:768px){.back-to-top {
    display: block
}
}

@media (min-width:992px){.bs-docs-sidebar .nav>.active>ul {
    display: block
}

    .bs-docs-sidebar.affix, .bs-docs-sidebar.affix-bottom {
        width: 213px
    }

    .bs-docs-sidebar.affix {
        position: fixed;
        top: 20px
    }

    .bs-docs-sidebar.affix-bottom {
        position: absolute
    }

    .bs-docs-sidebar.affix-bottom .bs-docs-sidenav, .bs-docs-sidebar.affix .bs-docs-sidenav {
        margin-top: 0;
        margin-bottom: 0
    }
}

@media (min-width:1200px){.bs-docs-sidebar.affix-bottom, .bs-docs-sidebar.affix {
    width: 263px
}
}

/*
 * Footer
 */
.blog-footer > div {
    margin-top:40px;
}
.blog-footer {
    color: #999;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}
